package com.example.supplychainbackend.service;

import com.example.supplychainbackend.controller.dto.blockchain.UploadInfo;
import com.example.supplychainbackend.controller.dto.plan.PlanOrderDetailDto;
import com.example.supplychainbackend.controller.dto.plan.PlanOrderDto;
import com.example.supplychainbackend.controller.dto.production.ProductionWorkorderDto;

import java.util.List;

public interface PlanService {
    PlanOrderDetailDto getPlanOrderDetail(String mo);

    PlanOrderDetailDto updatePlanOrder(String mo, PlanOrderDetailDto form);

    String createPlanOrder(PlanOrderDetailDto form);

    List<PlanOrderDto> getPlanOrders();

    Long deletePlanOrder(String mo);

    PlanOrderDetailDto reportToPlanOrder(ProductionWorkorderDto wo);
//    PlanOrderDetailDto reportToPlanOrder(PlanReportDto wo);
    PlanOrderDetailDto finishPlanOrder(String mo, String status);

    UploadInfo uploadPlanOrder(String id);

    List<PlanOrderDto> getPlanOrdersByEid(String eid);
}
